<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页</title>
</head>
<body>
    <!--错误 login/register/  会在当前页面url后继续补
    正确写法/login/register/  ip:port后开始-->
    <form action="/login/login/" method="post">
        {% csrf_token %}
        <input type="text" name="name">
        <input type="password" name="password">
        <button type="submit">登录</button>
    </form>

    {{ message }}
</body>
</html>